<?php
namespace Teachers\Model;
use Think\Model\ViewModel;
class BasicInfoModel extends ViewModel {
   public $viewFields = array(
     'SchoolType'=>array('*'),
  	 'SchoolRelation'=>array('school_id'=>'school_id','_on'=>'SchoolType.school_type_id=SchoolRelation.school_type_id'),
   );
 }
